// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name:   SysDepartmentData.java

package scsc.web.system.data;

import scsc.pub.data.Department;
import scsc.pub.tools.StringUtil;
import java.io.Serializable;

public class SysDepartmentData extends Department
    implements Serializable
{
    private String upDeptName;
    public static final String upDeptNameDB = "UPDEPTNAME";
    private String linkManName;
    public static final String linkManNameDB = "LINKMANNAME";
    private String branchName;
    public static final String branchNameDB = "BRANCHNAME";
    private String regionName;
    public static final String regionNameDB = "REGIONNAME";
    //added by guoy at 0928
    private String jiciName;
    private String jibieName;
    private String xingzhiName;
    public SysDepartmentData()
    {
        init();
    }

    public SysDepartmentData(String deptcode,String deptname,String address,String state,
    						String jici,String jibie,String zhuguan,String xingzhi,
    						String jiciName,String jibieName,String xingzhiName)
    {
      setDeptcode(deptcode);
      setDeptname(deptname);
      setAddress(address);
      setState(state);
      this.setJici( StringUtil.trim(jici));
      this.setJibie( StringUtil.trim(jibie));
      this.setZhuguan( StringUtil.trim(zhuguan));
      this.setXingzhi( StringUtil.trim(xingzhi));
      this.setJiciName(StringUtil.trim(jiciName) );
	  this.setJibieName( StringUtil.trim(jibieName));
	  this.setXingzhiName(StringUtil.trim(xingzhiName));
    }
    public String getUpDeptName()
    {
        return upDeptName;
    }

    public void setUpDeptName(String upDeptName)
    {
        this.upDeptName = StringUtil.trim(upDeptName);
    }

    public String getLinkManName()
    {
        return linkManName;
    }

    public void setLinkManName(String linkManName)
    {
        this.linkManName = StringUtil.trim(linkManName);
    }

    public void reset()
    {
        init();
    }

    public void init()
    {
        setDeptcode("");
        setDeptname("");
        setUpdeptcode("");
        setAddress("");
        setLinkcode("");
        setLinkmantel1("");
        setLinkmantel2("");
        setLinkmanfax("");
        setEmail("");
        setIp("");
        setState("");
        setUpDeptName("");
        setLinkManName("");
        this.setJici( "");
        this.setJibie( "");
        this.setZhuguan( "");
        this.setXingzhi( "");
        this.setJiciName("" );
  	    this.setJibieName( "");
  	    this.setXingzhiName("");
    }

    public String getBranchName()
    {
        return branchName;
    }

    public String getRegionName()
    {
        return regionName;
    }

    public void setBranchName(String string)
    {
        branchName = string;
    }

    public void setRegionName(String string)
    {
        regionName = string;
    }

	public String getJibieName() {
		return jibieName;
	}

	public void setJibieName(String jibieName) {
		this.jibieName = jibieName;
	}

	public String getJiciName() {
		return jiciName;
	}

	public void setJiciName(String jiciName) {
		this.jiciName = jiciName;
	}

	public String getXingzhiName() {
		return xingzhiName;
	}

	public void setXingzhiName(String xingzhiName) {
		this.xingzhiName = xingzhiName;
	}
}
